// Script assets have changed for v2.3.0 see
// https://help.yoyogames.com/hc/en-us/articles/360005277377 for more information
function pircing(a,b,c){
	switch (o_Hero.fw_level){
	case (0):
with (instance_create_layer(x,y,"bullets",o_Sword))
	{
	if (b<125){
	direction = a;
	speed = 5;}
	}
	break;
		case (1):
		for (i = -50; i<50;i+=50){ 
			with (instance_create_layer(x+i,y+i,"bullets",o_Sword))
			{
			if (b<125){
			direction = a;
			speed = 5;}
			}
		}
	break;
}
}